<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>usbpsu: __attribute__ Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">usbpsu
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct____attribute____.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">__attribute__ Struct Reference<div class="ingroups"><a class="el" href="group__usbpsu__api.html">USBPSU APIs</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>struct SetupPacket - USB Standard Control Request  
 <a href="struct____attribute____.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a66ea2a4dac206c83bbcad1b4c17fa094"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct____attribute____.html#a66ea2a4dac206c83bbcad1b4c17fa094">bRequestType</a></td></tr>
<tr class="memdesc:a66ea2a4dac206c83bbcad1b4c17fa094"><td class="mdescLeft">&#160;</td><td class="mdescRight">Characteristics of request.  <a href="#a66ea2a4dac206c83bbcad1b4c17fa094">More...</a><br/></td></tr>
<tr class="separator:a66ea2a4dac206c83bbcad1b4c17fa094"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c80694d6a48691bf9f76775e7515e0b"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct____attribute____.html#a5c80694d6a48691bf9f76775e7515e0b">bRequest</a></td></tr>
<tr class="memdesc:a5c80694d6a48691bf9f76775e7515e0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of request.  <a href="#a5c80694d6a48691bf9f76775e7515e0b">More...</a><br/></td></tr>
<tr class="separator:a5c80694d6a48691bf9f76775e7515e0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92fb99a8f5104db7c27e7529618fc5df"><td class="memItemLeft" align="right" valign="top">u16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct____attribute____.html#a92fb99a8f5104db7c27e7529618fc5df">wValue</a></td></tr>
<tr class="memdesc:a92fb99a8f5104db7c27e7529618fc5df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Word-sized that varies according to request.  <a href="#a92fb99a8f5104db7c27e7529618fc5df">More...</a><br/></td></tr>
<tr class="separator:a92fb99a8f5104db7c27e7529618fc5df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b454fdf02ced118dd7ab4de7058244b"><td class="memItemLeft" align="right" valign="top">u16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct____attribute____.html#a4b454fdf02ced118dd7ab4de7058244b">wIndex</a></td></tr>
<tr class="memdesc:a4b454fdf02ced118dd7ab4de7058244b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to pass an index or offset.  <a href="#a4b454fdf02ced118dd7ab4de7058244b">More...</a><br/></td></tr>
<tr class="separator:a4b454fdf02ced118dd7ab4de7058244b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4a3acfd3f74acac292bd231961ce17a"><td class="memItemLeft" align="right" valign="top">u16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct____attribute____.html#af4a3acfd3f74acac292bd231961ce17a">wLength</a></td></tr>
<tr class="memdesc:af4a3acfd3f74acac292bd231961ce17a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bytes to transfer.  <a href="#af4a3acfd3f74acac292bd231961ce17a">More...</a><br/></td></tr>
<tr class="separator:af4a3acfd3f74acac292bd231961ce17a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>struct SetupPacket - USB Standard Control Request </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bRequestType,:</td><td>Characteristics of request </td></tr>
    <tr><td class="paramname">bRequest,:</td><td>Type of request </td></tr>
    <tr><td class="paramname">wValue,:</td><td>Word-sized field that varies according to request </td></tr>
    <tr><td class="paramname">wIndex,:</td><td>Used to pass an index or offset </td></tr>
    <tr><td class="paramname">wLength,:</td><td>Number of bytes to transfer if there is a Data stage </td></tr>
  </table>
  </dd>
</dl>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a5c80694d6a48691bf9f76775e7515e0b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 __attribute__::bRequest</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Type of request. </p>

</div>
</div>
<a class="anchor" id="a66ea2a4dac206c83bbcad1b4c17fa094"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 __attribute__::bRequestType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Characteristics of request. </p>

</div>
</div>
<a class="anchor" id="a4b454fdf02ced118dd7ab4de7058244b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u16 __attribute__::wIndex</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used to pass an index or offset. </p>

</div>
</div>
<a class="anchor" id="af4a3acfd3f74acac292bd231961ce17a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u16 __attribute__::wLength</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of bytes to transfer. </p>

</div>
</div>
<a class="anchor" id="a92fb99a8f5104db7c27e7529618fc5df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u16 __attribute__::wValue</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Word-sized that varies according to request. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
